<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>商品信息详情页面</title>
</head>
<body>
<h1>尊敬的用户欢迎你查看商品</h1>
<table border="1">
    <tr>
        <th>商品名</th>
        <th>商品价格</th>
    </tr>
    <c:forEach var="commodity" items="${sessionScope.commodities}">
        <tr>
            <td>${commodity.name}</td>
            <td>${commodity.price}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
